import styles from './index.module.scss'
import class
import Types from 'prop-types'
const Input = ({ extra, onExtraCliick, className, ...rest }) => {
  return (
    <div className={styles.root}>
      <input className={classnames('geek-input', className)} />
      {extra && (
        <span className="extra-text" onClick={onExtraCliick}>
          {extra}
        </span>
      )}
    </div>
  )
}
Input.prototypes={
    extra:Types.String,
    onExtraCliick:Types.func,
    className:Types.String
}
export default Input
